convert bare metal to vm